//
//  Downloading.m
//  Mecca
//
//  Created by TH-MAC02 on 10/21/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import "Downloading.h"

@implementation Downloading

- (NSString*) songTitle{

    return _songTitleStr;
}

- (NSString*) artistName{

    return _artistNameStr;
}

- (NSString*) duration{

    return _durationStr;
}

- (NSString*) imgAlbum{

    return _imgAlbumStr;
}

- (NSData*) songData{

    return _songDataStr;
}

+ (instancetype)downloadingSongWithTitle:(NSString*)title andArtistName:(NSString*)artistName andDuration:(NSString*)duration andImgAlbum:(NSString*)img andSongData:(NSData*)data{

    Downloading *downloading = [[self alloc] init];
    
    downloading.songTitleStr = title;
    downloading.artistNameStr = artistName;
    downloading.durationStr = duration;
    downloading.imgAlbumStr = img;
    downloading.songDataStr = data;
    
    return downloading;

}

@end
